package com.ruijixiang.leetcode.everyday.leetcode2024.leetcode202411;

public class leetcode20241104 {

    public boolean judgeSquareSum(int c){
        for(long i=0;i*i<=c;i++){
            double j=Math.sqrt(c-i*i);
            if(j==(int)j){
                return true;
            }
        }
        return false;
    }
}
